package grsu.epam.airline.DAO;

import grsu.epam.airline.model.FlightCrew;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface IFlightCrewDAO {
	public void addFlightCrew(FlightCrew flightCrew) throws SQLException;

	public void updateFlightCrew(int flightCrewId, int employeeId)
			throws SQLException;

	public FlightCrew getFlightCrewById(int flightCrewId) throws SQLException;

	public void deleteFlightCrew(int flightCrewId) throws SQLException;

	public List<FlightCrew> getAllFlightCrew() throws SQLException;

	public Connection getConnection();

}
